; //SETLIST
myvar_7 = GetStackObjectId()
for 1=1, 14, 1 do 
{}[1] = 0
end
for 1=1, 7, 1 do 
	if (0 < GetLocal(1)) then
	table["insert"]({}, (math["mod"](GetLocal(1), 16) + 1))
	{}[(math["mod"](GetLocal(1), 16) + 1)] = ({}[(math["mod"](GetLocal(1), 16) + 1)] + 1)
	table["insert"]({}[math["floor"]((GetLocal(1) / 16))], (math["mod"](GetLocal(1), 16) + 1))
		if ((math["mod"](GetLocal(1), 16) + 1) == 14) then
		table["insert"]({}[math["floor"]((GetLocal(1) / 16))], 1)
	end
		if ({}[(math["mod"](GetLocal(1), 16) + 1)] == nil) then
		{}[(math["mod"](GetLocal(1), 16) + 1)] = 1
		table["insert"]({}, (math["mod"](GetLocal(1), 16) + 1))
			if ((math["mod"](GetLocal(1), 16) + 1) == 14) then
			table["insert"]({}, 1)
		end
	end
end
end
table["sort"]({}, Poker["SimpleSort"])
table["sort"]({}, Poker["SimpleSort"])
for 1=1, 4, 1 do 
table["sort"]({}[1], Poker["SimpleSort"])
end
	if (Poker["Straight"]({}[1], {}, 5) ~= 1) then 


		if (Poker["Straight"]({}[2], {}, 5) ~= 1) then 


			if (Poker["Straight"]({}[3], {}, 5) ~= 1) then 


				if (Poker["Straight"]({}[4], {}, 5) ~= 0) then 


			else
					if ({}[1] == 14) then
				else
				end
			end
		end
			if (1 < Poker["hasX"]({}, 4, {})) then
		else
				if (2 >= Poker["hasX"]({}, 3, {})) then
					if (1 < Poker["hasX"]({}, 3, {})) then
						if (1 < Poker["hasX"]({}, 2, {})) then
					else
					else
					end
						if (Poker["TrueClear"]({}) ~= 0) then 


							if (Poker["Flush"]({}, {}, 5) ~= 0) then 


						else
								if (Poker["Straight"]({}, {}, 5) ~= 0) then 


							else
									if (1 < Poker["hasX"]({}, 3, {})) then
								else
										if (1 < Poker["hasX"]({}, 2, {})) then
									else
											if (Poker["TrueClear"]({}) ~= 0) then 


												if (Poker["hasX"]({}, 2, {}) == 1) then
											else
											end
										end
									end
								end
							end
						end
					end
				end
			end
		end
	end
end
	if (GetTreeParameter(1) == 0) then
	SetScriptReturnValue(True)
	table["sort"]({}, Poker["SimpleSort"])
		if (table["getn"]({}) < 5) then
		for loopvar1, loopvar2 in ipairs({}) do 
		for loopvar1, loopvar2 in ipairs({}) do 
			if (loopvar2 == ipairs({})(ipairs({})({}))) then
			table["remove"]({}, loopvar1)
		else
			end
		end
		end
	end
		while (table["getn"]({}) < 5) do
		local myvar_12 = 1
		table["remove"]({}, myvar_12)
		table["insert"]()
	end
	SetObjectAttribute(myvar_7, 13, Poker["Score"]["HiCard"])
	for 1=1, 5, 1 do 
	myvar_12 = myvar_7
	SetObjectAttribute(myvar_12, (13 + 1), {}[1])
	end
else
	{}[2] = 1
	{}[5] = 21
	{}[6] = 41
	{}[7] = 61
	myvar_9 = table["getn"]({})
	{}, SetObjectAttribute, myvar_12 = nil
		if (Poker["Score"]["HiCard"] ~= Poker["Score"]["HiCard"]) then
	else
	end
		if (100 <= GetConstant(4097, {}[myvar_9])) then
		SetScriptReturnValue(True)
		return 
	end
		if (Poker["Straight"]({}, {}, 4) ~= 0) then 


	else
			if (Poker["Straight"]({}, {}, 3) ~= 0) then 


		else
				if (Poker["Straight"]({}, {}, 2) ~= 0) then 


			end
		end
	end
		if (Poker["Flush"]({}, {}, 4) ~= 0) then 


	else
			if (Poker["Flush"]({}, {}, 3) ~= 0) then 


		else
			local myvar_16 = 2
				if (Poker["Flush"]({}, {}, myvar_16) ~= 0) then 


			end
		end
	end
	myvar_13 = math["random"](100)
		if (myvar_13 <= Poker["GetBestOdds"](Poker["GetBestOdds"](Poker["GetBestOdds"](Poker["GetBestOdds"](Poker["GetBestOdds"](Poker["GetBestOdds"](GetConstant(4097, {}[myvar_9]), ({}[myvar_9] + Poker["PartialHands"]["FourInARow"])), ({}[myvar_9] + Poker["PartialHands"]["ThreeInARow"])), ({}[myvar_9] + Poker["PartialHands"]["TwoInARow"])), ({}[myvar_9] + Poker["PartialHands"]["FourOfASuit"])), ({}[myvar_9] + Poker["PartialHands"]["ThreeOfASuit"])), ({}[myvar_9] + Poker["PartialHands"]["TwoOfASuit"]))) then
		SetScriptReturnValue(True)
	else
		local myvar_15 = False
		SetScriptReturnValue(myvar_15)
	end
	return 
end
